/**
 * 
 */
package com.rapwaves.mc.server.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.oauth.service.members.service.MemberService;

/**
 * @author asanthan
 * 
 */
@Service
public class MembercareServiceImpl implements MembercareService {

	@Autowired
	private MemberService memberService;

	/**
	 * @return
	 * @see com.oauth.service.members.service.MemberService#getCount()
	 */
	public Long getCount() {
		return memberService.getCount();
	}

	/**
	 * @param interval
	 * @return
	 * @see com.oauth.service.members.service.MemberService#getNewUsers(int)
	 */
	public List<String> getNewUsers(int interval) {
		return memberService.getNewUsers(interval);
	}

	public List<String> getActiveUsers(int interval) {
		return memberService.getActiveUsers(interval);
	}
}
